export const API_WATERQUALITY_ADMIN_SCORE_INFO_GET = '/waterquality/admin/score/info/get'
export const API_WATERQUALITY_ADMIN_SCORE_INFO_DELETE = '/waterquality/admin/score/info/delete'
export const API_WATERQUALITY_ADMIN_SCORE_INFO_CREATE = '/waterquality/admin/score/info/create'
export const API_WATERQUALITY_ADMIN_SCORE_INFO_UPDATE = '/waterquality/admin/score/info/update'
export const API_WATERQUALITY_ADMIN_SCORE_INFO_LIST = '/waterquality/admin/score/info/list'

import { request } from '@/utils/request';

export function getInfo(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_SCORE_INFO_GET,
    data,
  });
}

export function doDelete(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_SCORE_INFO_DELETE,
    data,
  });
}

export function doUpdate(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_SCORE_INFO_UPDATE,
    data,
  });
}

export function doCreate(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_SCORE_INFO_CREATE,
    data,
  });
}

export function getList(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_SCORE_INFO_LIST,
    data,
  });
}
